package cn.edu.cqu.fredyvia.forum.config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
@Getter
public class AliyunOssConfig {
    @Value("${storage.aliyun-oss.endpoint}")
    private String endpoint;
    @Value("${storage.aliyun-oss.keyid}")
    private String keyid;
    @Value("${storage.aliyun-oss.keysecret}")
    private String keysecret;
    @Value("${storage.aliyun-oss.bucketname}")
    private String bucketname;
    @Value("${storage.aliyun-oss.basepath.images}")
    private String imageBasepath;
    @Value("${storage.aliyun-oss.basepath.contents}")
    private String contentBasepath;
}
